<template>
  <div>
    <div class="pay-success">
      <span class="iconfont" @click="back">&#xe612;</span>
      <div class='title'>结算</div>
      <div class="right"></div>
    </div>
    <div class="pay-success-content">
      <i class="iconfont pay-ses-icon">&#xe606;</i>
      <h2>购买成功</h2>
      <div class="pay-ses-content">
        已收到您的付款,请留意<span class="pay-ses-title">订单详情</span>以及<span class="pay-ses-title">物流信息</span>
        <p>另外祝您生活愉快,感谢您的支持与厚爱</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'PaySuccess',
  methods: {
    back: function(){
      this.$router.go(-1);
    }
  },
}
</script>

<style lang="less">
  .pay-success{
    position: fixed;
    top: 0;
    z-index: 2;
    background: white;
    width: 100%;
    height: 1.5rem;
    color: #777;
    border-bottom: 1px solid #eee;
    span{
      width: 10%;
      float: left;
      height: 1.5rem;
      line-height: 1.5rem;
      font-size: .8rem;
      text-align: center;
    }
    .title{
      width: 80%;
      float: left;
      line-height: 1.5rem;
      text-align: center;
      margin: 0 auto;
      font-size: .5rem;
    }
    .right{
      float: left;
      width: 10%;
      line-height: 1rem;
    }
  }
  .pay-success-content{
    padding-top: 2.3rem;
    text-align: center;
    .pay-ses-icon{
      color: #55B55E;
      font-size: 1.6rem;
    }
    h2{
      margin-top: .5rem;
      font-size: .6rem;
    }
    .pay-ses-content{
      margin-top: 0.3rem;
      font-size: 0.25rem;
      line-height: 0.42rem;
      .pay-ses-title{
        color: #3487e0;
      }
    }

  }


</style>
